package com.yun.zf.common.mapstruct.admin;

import com.yun.zf.common.admin.domain.ZfPactPersonInfo;
import com.yun.zf.common.admin.domain.ZfPactRentInfo;
import com.yun.zf.common.admin.model.order.PerformanceMo;
import com.yun.zf.common.app.domain.*;
import com.yun.zf.common.admin.model.pact.*;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface PactMapper {
    PactMapper INSTANCE = Mappers.getMapper(PactMapper.class);

    List<RateDiscountMo> rateToMo(List<SysRateDiscount> rateDiscounts);

    List<ZfPerformance> motoPerformance(List<PerformanceMo> performanceMos);
    ZfPact moToPact(PactInfoMo infoMo);
    List<ZfPactPersonInfo> moToPersonList(List<PactPersonMo> personMos);
   ZfPactPersonInfo moToPersonList(PactPersonMo personMos);
    ZfPactRentInfo moToRentInfo(PactRentInfoMo rentInfoMo);
}
